package ba.jamax.ralfdb.view.http;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

@JsonIgnoreProperties({"nd"})
public class RequestGridViewModel implements Serializable {

	private static final long serialVersionUID = 5679777077467867776L;

	private Map<String,Object> criteria = new HashMap<String,Object>();
	private boolean search;
	private int page;
	private int rows;
	private String order;
	private String sort;
	
	public Map<String,Object> getCriteria() {
		return criteria;
	}
	public void setCriteria(Map<String,Object> criteria) {
		this.criteria = criteria;
	}
	public boolean getSearch() {
		return search;
	}
	public void setSearch(boolean search) {
		this.search = search;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getRows() {
		return rows;
	}
	public void setRows(int rows) {
		this.rows = rows;
	}
	public String getOrder() {
		return order;
	}
	public void setOrder(String order) {
		this.order = order;
	}
	public String getSort() {
		return sort;
	}
	public void setSort(String sort) {
		this.sort = sort;
	}	
}
